/***************
 * 试题相关接口
 */
import request from '@/http/index.js'
// 获取所所有试题列表
export const getQuestionList = () => {
    return request({
        url: '../json/questions/questionList.json',
        method: 'get',
    })
}
// 根据id查询题目详情

export const getQuestionDetail = () => {
    return request({
        url: '../json/questions/questionDetail.json',
        method: 'get',
    })
}

//  获取难以程度 
export const getDifficultyList = () => {
    return request({
        url: '../json/questions/difficulty.json',
        method: 'get',
    })
}